Skip to content

Conversation

@alexcheuk
Copy link

No description provided.

dependabot bot and others added 30 commits November 8, 2021 23:46
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v4.4.13...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…lue is present)

- Integrate testing-library
s-yadav and others added 26 commits May 12, 2024 23:23
fix: `onValueChange` not called for values with 3 or less characters
…Format as its a number_format base props and shouldn't be used outside. s-yadav#850
Fix Number Formatting Order in Customization
Handle caret position when fixedDecimalScale is used and user types after clearing input.
chore(react-version): upgrade peer react version to include react 19
doc: fix spelling of `PatternFormat`
The return type of `NumericFormat` and `PatternFormat` was being inferred as
`JSX.Element` which caused the following type error (typescript v5.7.3):

```
error TS2786: 'PatternFormat' cannot be used as a JSX component.
  Its type '<BaseType = InputAttributes>(props: PatternFormatProps<BaseType>) => Element' is not a valid JSX element type.
    Type '<BaseType = InputAttributes>(props: PatternFormatProps<BaseType>) => Element' is not assignable to type '(props: any) => ReactNode | Promise<ReactNode>'.
      Type 'Element' is not assignable to type 'ReactNode | Promise<ReactNode>'.
        Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.
```

Instead of being inferred, explicitly add the return type of `React.ReactElement`
which represents a JSX element.
@alexcheuk alexcheuk closed this Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.